﻿using System;
using System.CodeDom.Compiler;
using System.Diagnostics;
using Google.Protobuf;
using Google.Protobuf.Reflection;

namespace EggLink.DanhengServer.Proto
{
	// Token: 0x02000145 RID: 325
	[DebuggerDisplay("{ToString(),nq}")]
	public sealed class BODJDMCEIHO : IMessage<BODJDMCEIHO>, IMessage, IEquatable<BODJDMCEIHO>, IDeepCloneable<BODJDMCEIHO>, IBufferMessage
	{
		// Token: 0x17000466 RID: 1126
		// (get) Token: 0x06000EDB RID: 3803 RVA: 0x0002C0BF File Offset: 0x0002A2BF
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public static MessageParser<BODJDMCEIHO> Parser
		{
			get
			{
				return BODJDMCEIHO._parser;
			}
		}

		// Token: 0x17000467 RID: 1127
		// (get) Token: 0x06000EDC RID: 3804 RVA: 0x0002C0C6 File Offset: 0x0002A2C6
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public static MessageDescriptor Descriptor
		{
			get
			{
				return BODJDMCEIHOReflection.Descriptor.MessageTypes[0];
			}
		}

		// Token: 0x17000468 RID: 1128
		// (get) Token: 0x06000EDD RID: 3805 RVA: 0x0002C0D8 File Offset: 0x0002A2D8
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		MessageDescriptor IMessage.Descriptor
		{
			get
			{
				return BODJDMCEIHO.Descriptor;
			}
		}

		// Token: 0x06000EDE RID: 3806 RVA: 0x0002C0DF File Offset: 0x0002A2DF
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public BODJDMCEIHO()
		{
		}

		// Token: 0x06000EDF RID: 3807 RVA: 0x0002C0E8 File Offset: 0x0002A2E8
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public BODJDMCEIHO(BODJDMCEIHO other) : this()
		{
			this.pNOAKGNANBO_ = other.pNOAKGNANBO_;
			this.fIKOICLOKFK_ = other.fIKOICLOKFK_;
			this.mDGLHFIFFLC_ = other.mDGLHFIFFLC_;
			this.jOIPFMCOINI_ = other.jOIPFMCOINI_;
			this.scriptId_ = other.scriptId_;
			this.progress_ = other.progress_;
			this.reward_ = ((other.reward_ != null) ? other.reward_.Clone() : null);
			this._unknownFields = UnknownFieldSet.Clone(other._unknownFields);
		}

		// Token: 0x06000EE0 RID: 3808 RVA: 0x0002C170 File Offset: 0x0002A370
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public BODJDMCEIHO Clone()
		{
			return new BODJDMCEIHO(this);
		}

		// Token: 0x17000469 RID: 1129
		// (get) Token: 0x06000EE1 RID: 3809 RVA: 0x0002C178 File Offset: 0x0002A378
		// (set) Token: 0x06000EE2 RID: 3810 RVA: 0x0002C180 File Offset: 0x0002A380
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public uint PNOAKGNANBO
		{
			get
			{
				return this.pNOAKGNANBO_;
			}
			set
			{
				this.pNOAKGNANBO_ = value;
			}
		}

		// Token: 0x1700046A RID: 1130
		// (get) Token: 0x06000EE3 RID: 3811 RVA: 0x0002C189 File Offset: 0x0002A389
		// (set) Token: 0x06000EE4 RID: 3812 RVA: 0x0002C191 File Offset: 0x0002A391
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public bool FIKOICLOKFK
		{
			get
			{
				return this.fIKOICLOKFK_;
			}
			set
			{
				this.fIKOICLOKFK_ = value;
			}
		}

		// Token: 0x1700046B RID: 1131
		// (get) Token: 0x06000EE5 RID: 3813 RVA: 0x0002C19A File Offset: 0x0002A39A
		// (set) Token: 0x06000EE6 RID: 3814 RVA: 0x0002C1A2 File Offset: 0x0002A3A2
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public bool MDGLHFIFFLC
		{
			get
			{
				return this.mDGLHFIFFLC_;
			}
			set
			{
				this.mDGLHFIFFLC_ = value;
			}
		}

		// Token: 0x1700046C RID: 1132
		// (get) Token: 0x06000EE7 RID: 3815 RVA: 0x0002C1AB File Offset: 0x0002A3AB
		// (set) Token: 0x06000EE8 RID: 3816 RVA: 0x0002C1B3 File Offset: 0x0002A3B3
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public uint JOIPFMCOINI
		{
			get
			{
				return this.jOIPFMCOINI_;
			}
			set
			{
				this.jOIPFMCOINI_ = value;
			}
		}

		// Token: 0x1700046D RID: 1133
		// (get) Token: 0x06000EE9 RID: 3817 RVA: 0x0002C1BC File Offset: 0x0002A3BC
		// (set) Token: 0x06000EEA RID: 3818 RVA: 0x0002C1C4 File Offset: 0x0002A3C4
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public uint ScriptId
		{
			get
			{
				return this.scriptId_;
			}
			set
			{
				this.scriptId_ = value;
			}
		}

		// Token: 0x1700046E RID: 1134
		// (get) Token: 0x06000EEB RID: 3819 RVA: 0x0002C1CD File Offset: 0x0002A3CD
		// (set) Token: 0x06000EEC RID: 3820 RVA: 0x0002C1D5 File Offset: 0x0002A3D5
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public uint Progress
		{
			get
			{
				return this.progress_;
			}
			set
			{
				this.progress_ = value;
			}
		}

		// Token: 0x1700046F RID: 1135
		// (get) Token: 0x06000EED RID: 3821 RVA: 0x0002C1DE File Offset: 0x0002A3DE
		// (set) Token: 0x06000EEE RID: 3822 RVA: 0x0002C1E6 File Offset: 0x0002A3E6
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public ItemList Reward
		{
			get
			{
				return this.reward_;
			}
			set
			{
				this.reward_ = value;
			}
		}

		// Token: 0x06000EEF RID: 3823 RVA: 0x0002C1EF File Offset: 0x0002A3EF
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public override bool Equals(object other)
		{
			return this.Equals(other as BODJDMCEIHO);
		}

		// Token: 0x06000EF0 RID: 3824 RVA: 0x0002C200 File Offset: 0x0002A400
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public bool Equals(BODJDMCEIHO other)
		{
			return other != null && (other == this || (this.PNOAKGNANBO == other.PNOAKGNANBO && this.FIKOICLOKFK == other.FIKOICLOKFK && this.MDGLHFIFFLC == other.MDGLHFIFFLC && this.JOIPFMCOINI == other.JOIPFMCOINI && this.ScriptId == other.ScriptId && this.Progress == other.Progress && object.Equals(this.Reward, other.Reward) && object.Equals(this._unknownFields, other._unknownFields)));
		}

		// Token: 0x06000EF1 RID: 3825 RVA: 0x0002C2A0 File Offset: 0x0002A4A0
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public override int GetHashCode()
		{
			int num = 1;
			if (this.PNOAKGNANBO != 0U)
			{
				num ^= this.PNOAKGNANBO.GetHashCode();
			}
			if (this.FIKOICLOKFK)
			{
				num ^= this.FIKOICLOKFK.GetHashCode();
			}
			if (this.MDGLHFIFFLC)
			{
				num ^= this.MDGLHFIFFLC.GetHashCode();
			}
			if (this.JOIPFMCOINI != 0U)
			{
				num ^= this.JOIPFMCOINI.GetHashCode();
			}
			if (this.ScriptId != 0U)
			{
				num ^= this.ScriptId.GetHashCode();
			}
			if (this.Progress != 0U)
			{
				num ^= this.Progress.GetHashCode();
			}
			if (this.reward_ != null)
			{
				num ^= this.Reward.GetHashCode();
			}
			if (this._unknownFields != null)
			{
				num ^= this._unknownFields.GetHashCode();
			}
			return num;
		}

		// Token: 0x06000EF2 RID: 3826 RVA: 0x0002C372 File Offset: 0x0002A572
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public override string ToString()
		{
			return JsonFormatter.ToDiagnosticString(this);
		}

		// Token: 0x06000EF3 RID: 3827 RVA: 0x0002C37A File Offset: 0x0002A57A
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public void WriteTo(CodedOutputStream output)
		{
			output.WriteRawMessage(this);
		}

		// Token: 0x06000EF4 RID: 3828 RVA: 0x0002C384 File Offset: 0x0002A584
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		void IBufferMessage.InternalWriteTo(ref WriteContext output)
		{
			if (this.FIKOICLOKFK)
			{
				output.WriteRawTag(24);
				output.WriteBool(this.FIKOICLOKFK);
			}
			if (this.JOIPFMCOINI != 0U)
			{
				output.WriteRawTag(32);
				output.WriteUInt32(this.JOIPFMCOINI);
			}
			if (this.MDGLHFIFFLC)
			{
				output.WriteRawTag(48);
				output.WriteBool(this.MDGLHFIFFLC);
			}
			if (this.ScriptId != 0U)
			{
				output.WriteRawTag(56);
				output.WriteUInt32(this.ScriptId);
			}
			if (this.PNOAKGNANBO != 0U)
			{
				output.WriteRawTag(80);
				output.WriteUInt32(this.PNOAKGNANBO);
			}
			if (this.reward_ != null)
			{
				output.WriteRawTag(90);
				output.WriteMessage(this.Reward);
			}
			if (this.Progress != 0U)
			{
				output.WriteRawTag(96);
				output.WriteUInt32(this.Progress);
			}
			if (this._unknownFields != null)
			{
				this._unknownFields.WriteTo(ref output);
			}
		}

		// Token: 0x06000EF5 RID: 3829 RVA: 0x0002C46C File Offset: 0x0002A66C
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public int CalculateSize()
		{
			int num = 0;
			if (this.PNOAKGNANBO != 0U)
			{
				num += 1 + CodedOutputStream.ComputeUInt32Size(this.PNOAKGNANBO);
			}
			if (this.FIKOICLOKFK)
			{
				num += 2;
			}
			if (this.MDGLHFIFFLC)
			{
				num += 2;
			}
			if (this.JOIPFMCOINI != 0U)
			{
				num += 1 + CodedOutputStream.ComputeUInt32Size(this.JOIPFMCOINI);
			}
			if (this.ScriptId != 0U)
			{
				num += 1 + CodedOutputStream.ComputeUInt32Size(this.ScriptId);
			}
			if (this.Progress != 0U)
			{
				num += 1 + CodedOutputStream.ComputeUInt32Size(this.Progress);
			}
			if (this.reward_ != null)
			{
				num += 1 + CodedOutputStream.ComputeMessageSize(this.Reward);
			}
			if (this._unknownFields != null)
			{
				num += this._unknownFields.CalculateSize();
			}
			return num;
		}

		// Token: 0x06000EF6 RID: 3830 RVA: 0x0002C524 File Offset: 0x0002A724
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public void MergeFrom(BODJDMCEIHO other)
		{
			if (other == null)
			{
				return;
			}
			if (other.PNOAKGNANBO != 0U)
			{
				this.PNOAKGNANBO = other.PNOAKGNANBO;
			}
			if (other.FIKOICLOKFK)
			{
				this.FIKOICLOKFK = other.FIKOICLOKFK;
			}
			if (other.MDGLHFIFFLC)
			{
				this.MDGLHFIFFLC = other.MDGLHFIFFLC;
			}
			if (other.JOIPFMCOINI != 0U)
			{
				this.JOIPFMCOINI = other.JOIPFMCOINI;
			}
			if (other.ScriptId != 0U)
			{
				this.ScriptId = other.ScriptId;
			}
			if (other.Progress != 0U)
			{
				this.Progress = other.Progress;
			}
			if (other.reward_ != null)
			{
				if (this.reward_ == null)
				{
					this.Reward = new ItemList();
				}
				this.Reward.MergeFrom(other.Reward);
			}
			this._unknownFields = UnknownFieldSet.MergeFrom(this._unknownFields, other._unknownFields);
		}

		// Token: 0x06000EF7 RID: 3831 RVA: 0x0002C5F0 File Offset: 0x0002A7F0
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public void MergeFrom(CodedInputStream input)
		{
			input.ReadRawMessage(this);
		}

		// Token: 0x06000EF8 RID: 3832 RVA: 0x0002C5FC File Offset: 0x0002A7FC
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		void IBufferMessage.InternalMergeFrom(ref ParseContext input)
		{
			uint num;
			while ((num = input.ReadTag()) != 0U)
			{
				if (num <= 48U)
				{
					if (num == 24U)
					{
						this.FIKOICLOKFK = input.ReadBool();
						continue;
					}
					if (num == 32U)
					{
						this.JOIPFMCOINI = input.ReadUInt32();
						continue;
					}
					if (num == 48U)
					{
						this.MDGLHFIFFLC = input.ReadBool();
						continue;
					}
				}
				else if (num <= 80U)
				{
					if (num == 56U)
					{
						this.ScriptId = input.ReadUInt32();
						continue;
					}
					if (num == 80U)
					{
						this.PNOAKGNANBO = input.ReadUInt32();
						continue;
					}
				}
				else
				{
					if (num == 90U)
					{
						if (this.reward_ == null)
						{
							this.Reward = new ItemList();
						}
						input.ReadMessage(this.Reward);
						continue;
					}
					if (num == 96U)
					{
						this.Progress = input.ReadUInt32();
						continue;
					}
				}
				this._unknownFields = UnknownFieldSet.MergeFieldFrom(this._unknownFields, ref input);
			}
		}

		// Token: 0x0400064B RID: 1611
		private static readonly MessageParser<BODJDMCEIHO> _parser = new MessageParser<BODJDMCEIHO>(() => new BODJDMCEIHO());

		// Token: 0x0400064C RID: 1612
		private UnknownFieldSet _unknownFields;

		// Token: 0x0400064D RID: 1613
		public const int PNOAKGNANBOFieldNumber = 10;

		// Token: 0x0400064E RID: 1614
		private uint pNOAKGNANBO_;

		// Token: 0x0400064F RID: 1615
		public const int FIKOICLOKFKFieldNumber = 3;

		// Token: 0x04000650 RID: 1616
		private bool fIKOICLOKFK_;

		// Token: 0x04000651 RID: 1617
		public const int MDGLHFIFFLCFieldNumber = 6;

		// Token: 0x04000652 RID: 1618
		private bool mDGLHFIFFLC_;

		// Token: 0x04000653 RID: 1619
		public const int JOIPFMCOINIFieldNumber = 4;

		// Token: 0x04000654 RID: 1620
		private uint jOIPFMCOINI_;

		// Token: 0x04000655 RID: 1621
		public const int ScriptIdFieldNumber = 7;

		// Token: 0x04000656 RID: 1622
		private uint scriptId_;

		// Token: 0x04000657 RID: 1623
		public const int ProgressFieldNumber = 12;

		// Token: 0x04000658 RID: 1624
		private uint progress_;

		// Token: 0x04000659 RID: 1625
		public const int RewardFieldNumber = 11;

		// Token: 0x0400065A RID: 1626
		private ItemList reward_;
	}
}
